/*
 * Cnanowire - computes current-voltage characteristic of bare cylindrical nanowire
 * Copyright (C) 2010  Oka Kurniawan
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 *
*/

#ifndef GLOBALCONST_H_
#define GLOBALCONST_H_
#include <gsl/gsl_const_mksa.h>

namespace GlobalConst{
	 const double M_H=GSL_CONST_MKSA_PLANCKS_CONSTANT_H; //!< Planck constant \f$h\f$.
	 const double M_HBAR=GSL_CONST_MKSA_PLANCKS_CONSTANT_HBAR; //!< Planck constant \f$\hbar\f$.
	 const double QC=GSL_CONST_MKSA_ELECTRON_CHARGE; //!< Unit charge in coloumb.
	 const double M0=GSL_CONST_MKSA_MASS_ELECTRON; //!< Mass of free electron.
	 const double EPS0=GSL_CONST_MKSA_VACUUM_PERMITTIVITY; //!< Vacuum permittivity.
	 const double CVEL=GSL_CONST_MKSA_SPEED_OF_LIGHT; //!< Speed of light.

	 const double GSL_MIN_CONST=-7e2; //!< Minimum GSL can handle for Fermi Dirac function.
	 const double NCEFF=2.82e25; //!< Effective density of states of conduction band in \f$m^{-3}\f$.
	 const double KB=GSL_CONST_MKSA_BOLTZMANN/QC; //!< Boltzmann constant in eV.
	 const double I_CONST=QC*QC/(2*M_PI*M_HBAR); //!< Constant for current calculation.

	 const int MAX_STR=80; //!< Maximum length of character in a string.
}
#endif /*GLOBALCONST_H_*/
